<?php
class show{
    public $_value;
    /*显示方法*/
    protected function display($demo){
       $demo=$demo?$demo:$GLOBALS['s'][1];
       extract($this->_value);
       $root=ROOT_PATH.'/'.$GLOBALS['C']['Cro'].'/'. $GLOBALS['s'][0].'/'.$GLOBALS['C']['_M'].'/'.$demo.'.php';
       $root=str_replace('//', '/',$root);
       require_once $root;
       exit;
    }
    protected function assign($key,$value){
        $this->_value[$key]=$value;
    }
}